/**
 * COPYRIGHT HangZhou Trustway Technology Company Limited
 * All right reserved.
 */
package com.robam.cloud.common.bean.xswx.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description
 * @Author 薛铁琪
 * @CreateTime 2020-07-27 18:55
 * @Version 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FileCloud {
    public final static int FILE_STATUS_NORMAL = 1;//文件正常状态
    public final static int FILE_STATUS_DELETE = 0;//文件已删除
    public final static int CONTENT_TYPE_FILE = 1;//普通文件
    public final static int CONTENT_TYPE_PIC = 2;//图片文件
    public final static int CONTENT_TYPE_VIDEO = 3;//视频文件


    //文件ID
    private Long id;
    //文件大小
    private Long size;
    //md5加密值
    private String md5;
    //md5加密的前256个字符串
    private String md5Fb256;
    //crc32加密
    private String crc32;
    //存在阿里云的文件名字
    private String storageName;
    //内容类型
    private String contentType;
    //文件状态 正常:1 ，以删除：0
    private Integer fileStatus;
    //后缀
    private String suffix;
    //创建时间
    private Date gmtCreated;
    //修改时间
    private Date gmtModified;
}
